package com.qiaofang.housewarehouse.facade;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import com.qiaofang.common.feignset.config.FeignConfiguration;

@SpringBootApplication
@ComponentScan(basePackages={"com.qiaofang.housewarehouse"})
@MapperScan("com.qiaofang.housewarehouse.dao.mapper")
@EnableFeignClients(value="com.qiaofang.commonservice.stub",defaultConfiguration = FeignConfiguration.class)//扫描feign注册client的bean
public class HouseWareHouseApplication {
	
	   public static void main(String[] args) {
	        SpringApplication.run(HouseWareHouseApplication.class, args);
	    }

}
